<template>
    <div class="setting flex" v-if="content.dataStatus">
        <div class="absolute left-4" v-if="content.stockStatus">库存：100</div>
        <div class="absolute left-[40%]" v-if="content.salesStatus">销量：100</div>
        <div class="absolute right-4" v-if="content.viewsStatus">浏览量：100</div>
    </div>
</template>
<script lang="ts" setup>
import type { PropType } from 'vue'
import type options from './options'
type OptionsType = ReturnType<typeof options>
const props = defineProps({
    content: {
        type: Object as PropType<OptionsType['content']>,
        default: () => ({})
    },
    styles: {
        type: Object as PropType<OptionsType['styles']>,
        default: () => ({})
    }
})
const getData = computed(() => {
    const { data } = props.content
    return data
})
</script>

<style lang="scss" scoped>
.setting {
    width: 345px;
    height: 34px;
    line-height: 34px;
    color: #999;
    font-size: 14px;
}
</style>
